﻿
using System.Collections.Generic;
using QLKS.DAL;
using QLKS.Entity;

namespace QLKS.BLL
{
    public class DMPhongBUS
    {
        private static DMPhongDAO dao = new DMPhongDAO();

        public static List<DMPhong> GetByAll(DMPhong obj)
        {
            return dao.GetByAll(obj);
        }

        public static bool Insert(DMPhong obj)
        {
            return dao.Insert(obj);
        }

        public static bool Update(DMPhong obj)
        {
            return dao.Update(obj);
        }

        public static bool Delete(DMPhong obj)
        {
            return dao.Delete(obj);
        }
    }
}
